package com.tengju.support.domain.model.bizlog;

import com.tengju.support.domain.annotation.BizLogSysName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NonNull;

import java.util.Date;
import java.util.Map;

@Data
@AllArgsConstructor
public class BizLogMessage {

    @NonNull
    private BizLogSysName sysName;
    @NonNull
    private String url;
    @NonNull
    private BizLogContent logContent;
    @NonNull
    private String operator;
    @NonNull
    private String operatorRole;
    @NonNull
    private Date operateTime;
    @NonNull
    private String ip;

    private Map<String, String> tags;

}
